﻿using System;

namespace enyo
{
    public class Control : enyo.Object
    {
        public string name;
        public string kind;
        public ushort flex;
        public string className;
        public string style;
        public string pack;
        public string align;
        public string layoutKind;
        public bool disabled;

        public object[] components;

        [ImportMember("$")]
        public readonly object _;

        public void Show()
        {
        }

        public void Hide()
        {
        }

        public virtual void InitComponents()
        {
        }

        public object CreateComponent(System.Object c)
        {
            return null;
        }

        protected virtual void Create()
        {
        }
    }
}